<#include "../../common/head.html" />
<script type="text/javascript" src="${request.contextPath}/javascript/sys/Role.js"></script>
<body class="easyui-layout">
<table id="role_datagrid"></table>
<div id="role_toolbar" style="padding:5px;height:auto;">
    <div style="margin-left:2px;">
      <@shiro.hasPermission name="sys:role:add"><a class="easyui-linkbutton"  id="add_role" data-options="iconCls:'icon-add',plain:true">添加</a><span class="toolbar-item dialog-tool-separator com-separator"></span></@shiro.hasPermission>
	 <@shiro.hasPermission name="sys:role:delete"> <a class="easyui-linkbutton" id="del_role" data-options="iconCls:'icon-remove',plain:true">删除</a><span class="toolbar-item dialog-tool-separator com-separator"></span></@shiro.hasPermission>
	  <@shiro.hasPermission name="sys:role:update"><a class="easyui-linkbutton" id="edit_role" data-options="iconCls:'icon-edit',plain:true">修改</a><span class="toolbar-item dialog-tool-separator com-separator"></span></@shiro.hasPermission>
	 <@shiro.hasPermission name="sys:role:getRoleRes"><a class="easyui-linkbutton" id="role_resource" data-options="iconCls:'sn-authority',plain:true">权限分配</a></@shiro.hasPermission>
	</div>
	<div style="margin-left:2px;">
	  <form id="roleSearchForm" style="display:inline;">
	  	<span style="margin-left:2px;">角色名称: <input class="easyui-textbox" style="width:100px;" name="roleName"></input></span>
	  	<span style="margin-left:2px;">角色编码: <input class="easyui-textbox" style="width:100px;" name="roleCode"></input></span>
	    <span style="margin-left:2px;">时间: <input class="easyui-datebox" style="width:100px;" name="startTime"></input>-<input class="easyui-datebox" name="endTime" style="width:100px"></input></span>
	     <a class="easyui-linkbutton" style="width:100px;" id="search_role" data-options="iconCls:'icon-search'">查询</a>
      </form>
   </div>
</div>
</body>